cmake_minimum_required(VERSION 3.10)
project(FsPlayer)

set(CMAKE_CXX_STANDARD 11)

include_directories(/usr/local/ffmpeg/include/ /usr/include/ /usr/local/include/)
link_directories(/usr/local/ffmpeg/lib/ /usr/lib/ /usr/local/lib/)

add_executable(FsPlayer
        main.cpp
        Audio.cpp
        FrameQueue.cpp
        Media.cpp
        PacketQueue.cpp
        Video.cpp
        VideoDisplay.cpp)

target_link_libraries(FsPlayer
        avutil
        avcodec
        avformat
        avdevice
        avfilter
        swscale
        swresample
        asound
        SDL2)